import std/parsecfg
echo "请输入配置文件名"
var cfg = stdin.readLine()
echo "请输入section名"
var section = stdin.readLine()

var dict = loadConfig("char/" & cfg)
echo "你好，我是" & getSectionValue(dict,section,"name")
while true:
  var input = stdin.readLine()
  echo("You said: ", input)